package com.qiaofang.collectmanage.stub.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "获取元素采集规则DTO对象")
public class GetElementRuleDTO implements Serializable {

    @ApiModelProperty(value ="id",required = true)
    @NotNull(message = "id不能为空")
    private Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "GetElementRuleDTO{" +
                "id=" + id +
                '}';
    }
}
